From: Florian Müllner Date: Sun, 9 Jul 2023 00:54:58 +0000 (+0200) Subject: dbusServices/extensions: Save stateObj on extension X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~337^2~1^2~127 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=cdd19a7773e2c1f68a54ff395c63b3c4ad04ae86;p=gnome-shell.git dbusServices/extensions: Save stateObj on extension We don't need it for anything for the time being, but reducing the differences between extension object in the gnome-shell process and in preferences still seems a good idea. Part-of: --- diff --git a/js/dbusServices/extensions/extensionPrefsDialog.js b/js/dbusServices/extensions/extensionPrefsDialog.js index 01c4a5c20..546af60ba 100644 --- a/js/dbusServices/extensions/extensionPrefsDialog.js +++ b/js/dbusServices/extensions/extensionPrefsDialog.js @@ -36,6 +36,8 @@ export const ExtensionPrefsDialog = GObject.registerClass({ const prefsModule = await import(prefsJs.get_uri()); const prefsObj = new prefsModule.default(metadata); + this._extension.stateObj = prefsObj; + prefsObj.fillPreferencesWindow(this); if (!this.visible_page)